package com.vova.packagesecond;

import java.util.Map;
import java.util.Map.Entry;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class MapProcessorSecond {

    public static final Logger LOG = LoggerFactory.getLogger(MapProcessorSecond.class);

    public void processMap(Map<Integer, Integer> map, int ENTRY_NUMBER) {
        for (int i = 1; i <= ENTRY_NUMBER; i++)
            map.put(i, i);

        for (Entry<Integer, Integer> entry : map.entrySet()) {
            LOG.info(entry.getKey() + " = " + entry.getValue() + " ---- MapProcessorSecond");
        }
    }
}
